﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebChatServer.Models
{
    public interface IMemberRepository
    {
        IEnumerable<ChatMember> GetAll();
        ChatMember Get(string id);
        ChatMember Add(ChatMember member);
        bool Remove(string id);
        bool UpdateInfo(Update member);
        Byte[] GetImage(string fileName);

        bool IsMember(Login login);
        bool UserNameIsExist(Register register);
        Register AddMember(Register member);

    }
}